PokemonStat

@Serializable
data class PokemonStat(val stat: Handle.Named<Stat>, val effort: Int, val baseStat: Int)(source)

Base stats for a Pokémon. See: https://pokeapi.co/docs/v2#pokemonstat

Parameters

stat

The stat the value applies to.

effort

The effort points (EVs) provided by this Pokémon for the stat.

baseStat

The base value of the stat.

Constructors

Link copied to clipboard
constructor(stat: Handle.Named<Stat>, effort: Int, baseStat: Int)

Properties

Link copied to clipboard
Link copied to clipboard
val effort: Int
Link copied to clipboard